package com.zch.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.ApplyProjectMapper;
import com.zch.dao.model.ApplyProject;
import com.zch.dao.model.ApplyProjectExample;
import com.zch.daoEx.ApplyProjectMapperEx;
import com.zch.daoEx.model.ApplyProjectEx;

@Service
public class ApplyProjectService {
	@Autowired
	private ApplyProjectMapper applyProjectMapper;
	@Autowired
    private ApplyProjectMapperEx applyProjectMapperEx;

	public int countByExample(ApplyProjectExample example) {
		return this.applyProjectMapper.countByExample(example);
	}

	public ApplyProject selectByPrimaryKey(String id) {
		return this.applyProjectMapper.selectByPrimaryKey(id);
	}

	public List<ApplyProject> selectByExample(ApplyProjectExample example) {
		return this.applyProjectMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(String id) {
		return this.applyProjectMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(ApplyProject record) {
		return this.applyProjectMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(ApplyProject record) {
		return this.applyProjectMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(ApplyProjectExample example) {
		return this.applyProjectMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(ApplyProject record, ApplyProjectExample example) {
		return this.applyProjectMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(ApplyProject record, ApplyProjectExample example) {
		return this.applyProjectMapper.updateByExample(record, example);
	}

	public int insert(ApplyProject record) {
		return this.applyProjectMapper.insert(record);
	}

	public int insertSelective(ApplyProject record) {
		return this.applyProjectMapper.insertSelective(record);
	}

    public List<ApplyProjectEx> selectList(Map<String, Object> map) {
        return this.applyProjectMapperEx.selectList(map);
    }

    public List<ApplyProjectEx> selectFindMsgList(Map<String, Object> shenbaoMap) {
        return this.applyProjectMapperEx.selectFindMsgList(shenbaoMap);
    }

    public List<ApplyProjectEx> selectMyList(Map<String, Object> map) {
        return this.applyProjectMapperEx.selectMyList(map);
    }

}
